package com.walker.weixin.entity.menu;

import com.walker.weixin.entity.BaseButton;

/**
 * @Description: view类型按钮 跳转指定的链接
 * @ProjectName: wms_step
 * @Package: com.walker.weixin.entity.menu
 * @ClassName: ViewBtn
 * @Author: yangyl
 * @CreateDate: 2020-07-20 17:37
 */
public class ViewBtn extends BaseButton {

    private String type = "view";
    private String url;

    public ViewBtn(String name, String url) {
        super(name);
        this.url = url;
    }

    public ViewBtn(String name, String key, String url) {
        super(name, key);
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }
}
